﻿/*********************
 * 区域特征
 * jiaw 
 * 2011年10月16日
 * ********************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VideoFlowStatistics.EntityClass
{
    public enum FeaturStatus
    {
        none,
        Line1,
        Line2,
        over
    }
    /// <summary>
    /// 区域特征
    /// </summary>
    class CAreaFeature : CLineOrder
    {
        public CAreaFeature()
        { }

        /// <summary>
        /// 特征值
        /// </summary>
        public AreaFeature areaFeature
        {
            get;
            set;
        }

        public FeaturStatus status
        {
            get;
            set;
        }
    }

    /// <summary>
    /// 特征值
    /// </summary>
    class AreaFeature
    {
        /// <summary>
        /// 中心，重心
        /// </summary>
        public CCenter CCenter { get; set; }
        /// <summary>
        /// 方框区域
        /// </summary>
        public CRectangle CRectangle { get; set; }
        /// <summary>
        /// 颜色存满值
        /// </summary>
        public double FullNess { get; set; }
        /// <summary>
        ///面积
        /// </summary>
        public int Area { get; set; }
    }

    class CCenter
    {
        public int X { get; set; }
        public int Y { get; set; }
    }

    class CRectangle
    {
        public int X { get; set; }
        public int Y { get; set; }
        public int Width { get; set; }
        public int Height { get; set; }
    }
}
